package x10.interfaces.cm15a.receive;

import x10.enums.Interfaces;
import x10.event.X10Event;
import x10.utilities.ChunkOfBytes;

/**
 * X10DeviceReceiver - super class for Receiver Factories, to
 * implement the process() method.
 *
 * @author Denny Sheirer
 * @date 20110201
 */
public abstract class X10DeviceReceiver {

    LastAddressedTracker lat;
    Interfaces interfaceType;

    public X10DeviceReceiver(LastAddressedTracker lat, Interfaces interfaceType){
        this.lat = lat;
        this.interfaceType = interfaceType;
    }

    public abstract X10Event process(ChunkOfBytes bytes);
}
